<!DOCTYPE html>
<style>
h5 {
    margin-bottom: -3157%;
    clear: both;
}
</style>
<div style="float: left;"></div>
<h2></h2>
<img>
<h5></h5>
<h5 id="last"></h5>
<h5 data-expected-height=0></h5>
<p> crbug.com/501726: layout gets set on self-collapsing block during margin collapsing</p>
<script src="../../resources/check-layout.js"></script>
<script>
    checkLayout("h5");
</script>

